package com.shenyong.entity;

/**
 * Create By:qiang
 * Date: 2019/11/25 14:43
 * 文件说明: Article
 */
public class Article {
    private int article_id;// 文章编号
    private String article_title;// 文章标题
    private String article_mdContent;// 文章内容
    private String article_summary;// 文章摘要
    private int article_cid;// 文章种类编号
    private int article_uid;// 文章用户编号
    private String article_picture;// 文章图片
    private String article_publishDate;// 文章发布日期
    private String article_editTime;// 文章修改日期
    private int article_state;// 文章发布状态 0表示草稿箱，1表示已发表，2表示已删除
    private int article_pageView;// 文章浏览次数
    private int article_artileClickId;// 文章点赞编号
    private String article_original;// 文章是否原创
    private String article_url;//文章地址

    public Article() {
    }

    public Article(int article_id, String article_title, String article_mdContent, String article_summary, int article_cid, int article_uid, String article_picture, String article_publishDate, String article_editTime, int article_state, int article_pageView, int article_artileClickId, String article_original,String article_url) {
        this.article_id = article_id;
        this.article_title = article_title;
        this.article_mdContent = article_mdContent;
        this.article_summary = article_summary;
        this.article_cid = article_cid;
        this.article_uid = article_uid;
        this.article_picture = article_picture;
        this.article_publishDate = article_publishDate;
        this.article_editTime = article_editTime;
        this.article_state = article_state;
        this.article_pageView = article_pageView;
        this.article_artileClickId = article_artileClickId;
        this.article_original = article_original;
        this.article_url=article_url;
    }

    public int getArticle_id() {
        return article_id;
    }

    public void setArticle_id(int article_id) {
        this.article_id = article_id;
    }

    public String getArticle_title() {
        return article_title;
    }

    public void setArticle_title(String article_title) {
        this.article_title = article_title;
    }

    public String getArticle_mdContent() {
        return article_mdContent;
    }

    public void setArticle_mdContent(String article_mdContent) {
        this.article_mdContent = article_mdContent;
    }

    public String getArticle_summary() {
        return article_summary;
    }

    public void setArticle_summary(String article_summary) {
        this.article_summary = article_summary;
    }

    public int getArticle_cid() {
        return article_cid;
    }

    public void setArticle_cid(int article_cid) {
        this.article_cid = article_cid;
    }

    public int getArticle_uid() {
        return article_uid;
    }

    public void setArticle_uid(int article_uid) {
        this.article_uid = article_uid;
    }

    public String getArticle_picture() {
        return article_picture;
    }

    public void setArticle_picture(String article_picture) {
        this.article_picture = article_picture;
    }

    public String getArticle_publishDate() {
        return article_publishDate;
    }

    public void setArticle_publishDate(String article_publishDate) {
        this.article_publishDate = article_publishDate;
    }

    public String getArticle_editTime() {
        return article_editTime;
    }

    public void setArticle_editTime(String article_editTime) {
        this.article_editTime = article_editTime;
    }

    public int getArticle_state() {
        return article_state;
    }

    public void setArticle_state(int article_state) {
        this.article_state = article_state;
    }

    public int getArticle_pageView() {
        return article_pageView;
    }

    public void setArticle_pageView(int article_pageView) {
        this.article_pageView = article_pageView;
    }

    public int getArticle_artileClickId() {
        return article_artileClickId;
    }

    public void setArticle_artileClickId(int article_artileClickId) {
        this.article_artileClickId = article_artileClickId;
    }

    public String getArticle_original() {
        return article_original;
    }

    public void setArticle_original(String article_original) {
        this.article_original = article_original;
    }

    public String getArticle_url() {
        return article_url;
    }

    public void setArticle_url(String article_url) {
        this.article_url = article_url;
    }

    @Override
    public String toString() {
        return "Article{" +
                "article_id=" + article_id +
                ", article_title='" + article_title + '\'' +
                ", article_mdContent='" + article_mdContent + '\'' +
                ", article_summary='" + article_summary + '\'' +
                ", article_cid=" + article_cid +
                ", article_uid=" + article_uid +
                ", article_picture='" + article_picture + '\'' +
                ", article_publishDate='" + article_publishDate + '\'' +
                ", article_editTime='" + article_editTime + '\'' +
                ", article_state=" + article_state +
                ", article_pageView=" + article_pageView +
                ", article_artileClickId=" + article_artileClickId +
                ", article_original='" + article_original + '\'' +
                ", article_url='" + article_url + '\'' +
                '}';
    }
}
